package cn.com.taiji.pos.mapper;

import cn.com.taiji.pos.entity.CardInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 * 卡片信息 Mapper 接口
 * </p>
 *
 * @author
 * @since 2021-03-01
 */
public interface CardInfoMapper extends BaseMapper<CardInfo> {

    @Update("UPDATE card_info SET CARD_CODE= #{arg0} where ID= #{arg1} ")
    int linkCard(String cardCode, String cardId);


}
